package com.zmht.beike.biz;

import java.util.List;

import com.zmht.beike.core.BaseBiz;
import com.zmht.beike.po.TIareacontent;

public interface IAreaContentBiz extends BaseBiz {
	/**
	 * 保存记录
	 * @param content
	 * @return
	 */
	public boolean saveAreaContent(TIareacontent content);
	/**
	 * 获得领域内容
	 * @param teacherId
	 * @param areaId
	 * @return
	 */
	public List getAreaContent(Integer teacherId,Integer areaId,int startIndex,int pageSize);
	/**
	 * 获得领域内容总条数
	 * @param teacherId
	 * @param areaId
	 * @return
	 */
	public int getAreaContentTotal(Integer teacherId,Integer areaId);
	
	/**
	 * 删除
	 * @param id
	 * @return
	 */
	public boolean deleteAreaContent(java.io.Serializable id);
	/**
	 * 更新
	 * @param content
	 * @return
	 */
	public boolean updateAreaContent(TIareacontent content);
	/**
	 * 获得记录
	 * @param id
	 * @return
	 */
	public TIareacontent findById(java.io.Serializable id);
	/**
	 * 编辑时查询
	 * @param targetId
	 * @param teacherId
	 * @param month
	 * @param week
	 * @param iareaType
	 * @param startIndex
	 * @param pageSize
	 * @return
	 */
	public List getAreaContentEdit(Integer targetId,Integer teacherId,Integer month,Integer week,Integer iareaType,int startIndex,int pageSize);
	/**
	 * 编辑时查询记录数
	 * @param targetId
	 * @param teacherId
	 * @param month
	 * @param week
	 * @param iareaType
	 * @return
	 */
	public int getAreaContentEditTotal(Integer targetId,Integer teacherId,Integer month,Integer week,Integer iareaType);
}
